import * as browser from './browser';

let apis = {};
apis.models = {
    browser
};

const api = {
    install (vue) {
        vue.prototype.$apis = {};

        for (const name of Object.keys(apis.models)) {
            vue.prototype.$apis[name] = apis.models[name];
        }
    }
}

export default api;